package com.wenzhan.service;

public class TestDemo1 {

    public static void main(String[] args) {
        LamDaInterface hello_interface = () -> {
            System.out.println("hello interface");
        };
        hello_interface.get();
        //精简写法，将结果强转为LamDaInterface
        ((LamDaInterface)() -> {
            System.out.println("hello interface2");
        }).get();
    }
}
